/*
 * XML Type:  TransferProcessingStatus
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.TransferProcessingStatus
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04.impl;
/**
 * An XML TransferProcessingStatus(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public class TransferProcessingStatusImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.ofx.types.x2003.x04.TransferProcessingStatus
{
    
    public TransferProcessingStatusImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName XFERPRCCODE$0 = 
        new javax.xml.namespace.QName("", "XFERPRCCODE");
    private static final javax.xml.namespace.QName DTXFERPRC$2 = 
        new javax.xml.namespace.QName("", "DTXFERPRC");
    
    
    /**
     * Gets the "XFERPRCCODE" element
     */
    public net.ofx.types.x2003.x04.TransferStatusEnum.Enum getXFERPRCCODE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(XFERPRCCODE$0, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.TransferStatusEnum.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "XFERPRCCODE" element
     */
    public net.ofx.types.x2003.x04.TransferStatusEnum xgetXFERPRCCODE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.TransferStatusEnum target = null;
            target = (net.ofx.types.x2003.x04.TransferStatusEnum)get_store().find_element_user(XFERPRCCODE$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "XFERPRCCODE" element
     */
    public void setXFERPRCCODE(net.ofx.types.x2003.x04.TransferStatusEnum.Enum xferprccode)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(XFERPRCCODE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(XFERPRCCODE$0);
            }
            target.setEnumValue(xferprccode);
        }
    }
    
    /**
     * Sets (as xml) the "XFERPRCCODE" element
     */
    public void xsetXFERPRCCODE(net.ofx.types.x2003.x04.TransferStatusEnum xferprccode)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.TransferStatusEnum target = null;
            target = (net.ofx.types.x2003.x04.TransferStatusEnum)get_store().find_element_user(XFERPRCCODE$0, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.TransferStatusEnum)get_store().add_element_user(XFERPRCCODE$0);
            }
            target.set(xferprccode);
        }
    }
    
    /**
     * Gets the "DTXFERPRC" element
     */
    public java.lang.String getDTXFERPRC()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTXFERPRC$2, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "DTXFERPRC" element
     */
    public net.ofx.types.x2003.x04.DateTimeType xgetDTXFERPRC()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTXFERPRC$2, 0);
            return target;
        }
    }
    
    /**
     * Sets the "DTXFERPRC" element
     */
    public void setDTXFERPRC(java.lang.String dtxferprc)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTXFERPRC$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DTXFERPRC$2);
            }
            target.setStringValue(dtxferprc);
        }
    }
    
    /**
     * Sets (as xml) the "DTXFERPRC" element
     */
    public void xsetDTXFERPRC(net.ofx.types.x2003.x04.DateTimeType dtxferprc)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTXFERPRC$2, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.DateTimeType)get_store().add_element_user(DTXFERPRC$2);
            }
            target.set(dtxferprc);
        }
    }
}
